//
//  CCCommentViewModel.h
//  Activity
//
//  Created by its on 15/5/21.
//  Copyright (c) 2015年 coco. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <ReactiveCocoa/ReactiveCocoa.h>
@class CCError;
@class CCCommentModel;
@interface CCCommentViewModel : NSObject
@property (nonatomic, copy) NSAttributedString *title;
@property (nonatomic, strong) NSMutableArray *listArray;
@property (nonatomic, copy) NSString *activityid;
@property (nonatomic, copy) NSString *activityTitle;
@property (nonatomic, copy) NSString *lastid;
@property (nonatomic, copy) NSString *replyid;// 被回复的id
@property (nonatomic, copy) NSString *replyAuthor;//被回复的用户
@property (nonatomic, copy) NSString *replyName;
@property (nonatomic, copy) NSString *content;
@property (nonatomic, strong) NSArray *myCommentList;
@property (nonatomic, copy) NSString *placehold;
@property (nonatomic, copy) NSString *activityAuthor;
@property (nonatomic, assign) BOOL addTableView;
- (id) initWithModel:(CCCommentModel *) model;
- (RACSignal *) setViewModelActivity;
- (RACSignal *) getFoot;
- (RACSignal *) publicComment;
- (RACSignal *) reply;
- (void) sendCommentMessage:(NSString *) commentId;
@end
